function foo(x: { [index: string]: any }) {
	print(x["y"]());
}
